Updated StorageReader with Type and function declarations.