add support for limiting loaded type of plugins