Added safty check for callability of as_text() method
Merge branch 'master' into add-callable
Merge pull request #226 from jrief/add-callable

Add callable