Added contains methods to dictionary