Explicit setting of storage type

I noticed that the "open" function in storagemanager has a "typ" parameter, but I couldn't figure out where that was passed from.