Update with some inline documentation.