Made changes for define_methods to be documented