Use null instead of -1 for null references. That was silly.