Remove unneeded spoiler code