Use as library, not module