fixed NPE in compatibility getClaimAt() implementation. generalized some data structures.