Move insight storage to a plugin