Refactored Level to LevelLayer.