Slightly cleaner equivalent logic.