Added more javadoc comments.