Refactor define_basic_methods to be consistent with other define_* methods.