Localize prepared statements