update API for function call capability

DEPRECATED:  using strings to specify function
names is no longer recommended.  Use proper function
calls instead.