flags and named constants with type checking of course for AVOption