Added doc comments and generated docs.