Use more compatible advice syntax, courtesy of @edani.