Add documentation for the UI methods

Note that the JsDoc API documentation seems rather incomplete, we'll need to fix that on yeoman-generator side.