Removed unneeded checks.