Switch definitions