Some javadoc. Will do more when I get the chance.