Lazy import of implementation of storage depending on usage type.

Avoid installation of unusable python packages.