Changed snippet to use new core class name