Convert storage interface to factory.