purple: make plugin functions externally visible