global helpers for active document and collection