Made plugin manager general purpose (instead of instance-type)