Document class with comments