Remove superfluous checks.