Fixed various javadoc issues. Fixes #177.