Allow wrapping functions with return values as interface requests