added method() and is_method()
3 files changed