Forgot to register the SplitFunction, and improved the error message for the case of an unsupported function.