Hide redefinition warnings in advice