Fix critical bug: incorrect reference to METHOD_MAP