Use WP_Stack_Plugin. Clean up. Document.