Removed log_path and add_text as they weren't exactly necessary.