Be more generic when checking for refreshes