Basic class exporting with intrusive/non-intrusive variants.