Simplify get-text by removing need for protocol