Getting rid of Object#attributes monkey patch

This was causing errors outside of the testing environment.