Convert all type constructor to function call.