Add support for method reference