move constant instantiations to cpp files.