Improved transformer for require calls