Added definition of macro DEFMETHOD as component in phase 2.