More work

Just kidding you needed to write the getters and setters. I wrote most
of them. Someone who understands the spec better look at the code to
answer commented things.