Allow for using Java beans with multiple constructors; fixes #45