A generic implementation of Storable using the machinery provided by generics-sop