Allow registration of custom functions for expressions