Fixes attribute getting, hashing errors