method and has_method added.