Make setProperties private