Repo tamed by separating off DB-based parts.