Refactor DalliStore to better support subclassing