mm: adds is_extern to MMMethods and use extern_name in extern methods only