Add a way to load and clear definitions of the core types