NULLifiying custom functions