Updating some Javadocs and fixing some inspections.