Removed warnings, updated javadoc a bit.