Why did they used to dock dogs tails