Added switchContext capability