API change for class?

i have this ild little script like this

class VIEW3D_MT_master(bpy.types.Menu):
bl_idname=‘master’
bl_label = “Master Material Menu”
global genprop

but get an error on the class name

what is the change needed to make it work again

Thanks