TypeError, argument 'key' complaint.