Added functionality to dictionary