Added some extra javadoc comments.