porting titan-persistit to 0.3.x