Some leg work required to de-couple the current implementation from MongoDB.