Add contextual dependencies' declarations and overrides