Code homogenization