This is manual type and argument number checking code that was not covered by the zpp move to TypeErrors.