Added registerContext operation