Fix: Use in_array to check, we're not using keys anymore for register!