Simpler code: add class and method documentation.