Replaced nested object in Premise with function.