Updated with comments what can be done. Works for simple case
added the sink_handler etc... a little bit of problem to get the return type to be template calculated.