Removed unnecessary checks.