Added an extra method to set the default context.