Added documentation coverage to resolver.js