Added curried lookup function for Dictionary.