Changes for mapreduce and fontvectorization