Delete unused spec code