additions to Object class to get closer to being compliant with the spec