add `ResourceFactory` instance variable on `ApiTraverser`