Add Core#defmethod