Key membership was checked more than once, should occur once per function call.
Minor improvement to get method. Removing unnecessary key membership lookup.