StoragePlugin: refactored and cleaned up interface