Forgot to revert the change to getAllowedKeys, refs T359