Replace environment.profileVariables by environment.profileRelativeEnvVars
Remove types.functionTo.
Merge pull request #3866 from nbp/remove-functionTo-type

Remove types.functionTo