Added missing code to set parameter in constituent functions