release version: 0.2.2
Proper construction of StubRegistry.