Add core class.