Refactor world.classAt, .iconAt