Fundamental data structure implementations.