Persistence interface for Haskell allowing multiple storage methods.