Removed unnecessary `logMessage()` calls.