[misc] Simplify a bit