Removed debugging checks.