Adds javadoc to commands