Add helper functions and remove hard coded references to instProf related name/name...