Removing unused functions, commenting things.