Adds compatibility with the mentions plugin.