Make Method use TypeDefinition for returnType