Also, use the new function to get a plugin given a protocol, instead of use g_hash_table_lookup() directly.