I realise that reading through these carefully I couldn't find a clear statement, here or in the dox for `@param flags`, of the fact that 0x4 and 0x8 are in *hex*.  Nerds probably look past it, but some astronomers only grow into being nerds ;)

Does `flags` always take a hex value, or can it be any base?