Split Go types into core module.