Don't load database if we don't need it.