Better handling of private fields