Added possibility to override returns. useful to handle nested/asynchronous server side operations.