add core class.