Javadoc and code formatting