No there is no way to do that at the moment.
The return problem can be solved at the moment ... you could return the created instance for usage afterwards.
The return problem can be solved at the moment ... you could return the created instance for usage afterwards.