Adding core class