* Extract prototype function _resolveCore.