Validatiors and setters for object properties