Some data structure implementations.