Bug fixed ActiveRecord storage using a non-ActiveRecord wrapper class.