Move constants into header file, to allow compiler to do
compile-time optimisations.