Minimal changes to change the behavior of text component.