Add getter for start and length. Needed for #819.
Add HighlightedField class. Needed for #819.