removing all of the auto-generated code that isn't necessary