Added javadoc to the commands.