Add support for non-async modules