Add returning a Result from a callback