Document plugin functions