Remove unnecessary checks.