Filter out the unused code