Transition to sm 1.7 syntax.