Adding spoiler behavior