Fix type restrictions for set context switch