Added javadocs where missing.