Create storage backends using a factory method

That makes the code more readable and easier to understand than calling
the dynamically defined methods using "send".