Add temporary TextRange class