[IMP] Allow domains containing functions to be saved as a custom filter with the functions unevaluated