Removing printStackTrace calls.