Fixes javadocs, formatting.