Removes parts of code