Set public properties to private fields