Changed getClearText() to return its value instead of changing the input to keep things clearer to maintainers.