Added support for method selectors