Support optional storage
field in input alloc.
#606
Merged
storage
field in input alloc.
#606