Increased 16% performance on resolving items (tested under jsperf)