Dictionary implementation.