add support for use in modules