Added layers to the ContextualRequest context manager