Fix missing import of `log`