Introduced common dictionary interface and two dictionary types