Fix to be compatible with updated MG spec