Added a couple of new convenience functions and a LOT of documentation.