Removes old opacity code