Remove code regions