Changed plugin manager to allow generic libraries to be loaded.