Add definitions for fromTextArea methods