Add cleanup routine which crawls the whole database, (re)creates matching metadata...