Add persistence settings, repository querying.