Make `converter` work in a module context