Added ability to pass in an object with a text statement. Fixed stack level bug.