[140] Applied new coding style to main unit.