de-duping code in LowLevelStorageService, and restraining the number of Function objects it instantiates