core.c: Now warn of invalid arguments