Removing duplicated check.