Add logger and verbose flag.