diff --git a/lib/middleware/common.js b/lib/middleware/common.js
index <HASH>..<HASH> 100644
--- a/lib/middleware/common.js
+++ b/lib/middleware/common.js
@@ -1,7 +1,7 @@
 var _ = require('lodash');
 var async = require('async');
 
-var Registry = require('../Registry');
+var Runtime = require('../Runtime');
 var Response = require('../Response');
 var Transaction = require('../Transaction');
 var ResourceNotFound = require('../errors/ResourceNotFound');
@@ -21,7 +21,10 @@ function parseChain(chain) {
 	if (!_.isArray(chain)) chain = [chain];
 	var chunks = _.chunk(chain, 2);
 	return _.map(chunks, function(chunk) {
-		return { resource: Registry.get(chunk[0]), selector: chunk[1] };
+		return {
+			resource: Runtime.getResource(chunk[0]),
+			selector: chunk[1],
+		};
 	});
 }
Use new runtime type api in middleware