Made context_switch declaration have named parameters.