No longer use the 'keys' property to determine if an object is a Set

Fixes #1.