Moved the bbox class to types