Stubbing out external content code