Better errors for invalid keys in configurators.