Applying code styling according to Embarcadero Object Pascal Style Guide: http://edn.embarcadero.com/article/10280