inside-out storage modified from kraih's pull request
Store result in inside-out class hash