'Create a key for the responses dictionary.
@param commandType: a subclass of C{amp.Command}.
@param kwargs: a dictionary.
@return: A value that can be used as a dictionary key.'

def _makeKey(self, command, kwargs):

    return (command, tuple(sorted(kwargs.items())))
