clean up. enable `isPackage` switch in `Document`. that's v1.0.1