Support for user-defined functions.