Adding support for result method to unwrap monadic values before
returning it.