Replace ternary with &&
Use Special Case 'Unspecified' object to represent missing Location parts in keys.
Get rid of nil check when extracting simple method name.