Port spell plugin to new menu api

This needs to be checked and tested with a proper installation