Issue #6. Converted ThinDOM into a class.