Added some javadoc comments to Unit