Add level switching.