Added metadata cache and services to access them.