Group the const declarations of FrameType and Flags with their respective type declarations.

If only to make the documentation more pretty :)