Removed log code.