Cleanup unsued code from invoice generator