reformat some code in \Tizo\Framework class