Add subclasses to show line numbers for code entry.