use the database as the store for prefactory lookups, to fix nested overrides
use the database as the store for prefactory lookups, to fix nested overrides