Export subfunctions and bundles to PML
Fixed typo