Added cache of metadata.