Added possibility to use non-default (non-empty) constructors on target classes when instantiating objects