Was missing some more includes in plugin.xml.