Make plugin compatible with DjangoCMS 3