Removed debugging prints.