Removed duplicate validation.