Add documentation for the UI methods

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