Move extern cmap declarations from .cpp files into new .h files.