Fine tuning dependency on contextRoot.