Changing check_key to check_keys.