Add support for PassRegistry