Added level class to support additional levels.