Allow use as a module