Hack: made DynamoIndex covariant in T, just to make the api easier