_key is not a dictionary like object.
Removed import that wasn't used.