Move constants and typedefs to a separate new file.