Removed redundant checks.