Simple and abstract APIs for data structure