Updated the version and added support for constructor arguments