Invalid key should return undefined.