Changed enum to private