Container fixes for record loading and materialization
Merge pull request #395 from ahacking/record_load_with_container_fixes

Allow model.load to accept container.