Adding init method with version parameter to SecondaryIndex extension. Issue #29