Changed the current context parameter to the contexts object