Thanks for writing this! I was also frustrated by the lack of documentation.