Sets an engine independent toString on Functions