Added requireIndexes demo, metadata annotation cache, restored db-check.