Cleaning up the code. Multiline text support.