Added the missing $log dependency.