Adding support for constructors using java.lang.Object as arguments