Wrap into a plugin