All the functions are Dungeon class methods now.