New API for Advise/Unadvise