Remove some unused lines