Removed required argument, if one or more properties are requied, then the option object is required. Fixed bug for optional parameters that are of another type than allowed.