Added assertChecksNumberOfArgs and dependent funcs.