added api docs for persistent plugin variables