Add support for result() method