Add syntactic sugar for configuring method return for Task<T>

Attempt at resolving #256