Add mdCache to scope