Add compatibility with the active-state plugin