module documentation

Public API functions and helpers for declarative.