Using annotations on enums instead