shard/key.rb - small cleanup

Just adding some comments and cleaning up the methods required to be
a key.