Add comments and examples to the public API.