Changes for profile likelihood calculations