Shuffle the content of handler.cc to make the diff smaller.