Pruning code, removing unused features and code