Removing unnecessary includes from text selection example