Removed unneeded logger calls.