Allow instantiating object as function arg

e.g. `foo(new bar)` or `foo(new bar());`