Currently only the modelines and filebrowser plugins are updated to these new interfaces
Adapted from: b43579beda
b43579beda