Removed some extra printf calls.