public static function create($handler, $xml)
    {
        switch ($handler) {
            case 'Search':
                return new SearchResponseHandler($xml);
            case 'FullSearch':
                return new FullSearchResponseHandler($xml);
            case 'ShowInfo':
                return new ShowInfoResponseHandler($xml);
            case 'EpisodeList':
                return new EpisodeListResponseHandler($xml);
            case 'EpisodeInfo':
                return new EpisodeInfoResponseHandler($xml);
            default:
                throw new InvalidHandlerException('Unknown handler ' . $handler);
        }
    }