Removed debug logging and stacktraces.