There is no direct documentation of the code itself, only the UI's that use it. You could add to the file, but when we come out with new versions we would be overwriting it, so it is something to be weary of... you may want to extend the class in a separate php file you can include after it with your own additions.