Added reflection class to unload plugins