Split up the code that finds the underlying storage for a