extract simple require calls