Added some missing comments, added missing tests for the new type-safe methods, added a test which exercises the new methods.