strip module semantics so we can use the module directly