Added the Serializable attribute to all core types.