Shouldn't this just go in the `UndefinedFunction` class?