Formating and removal of redundant code.