Backend support for custom functions