[TASK] Remove deprecated getter

Please access constants as static, not as members, e.g. `Form::OPTION_GROUP` here.