force plugin factory to only build plugins matching interface.