Clean up kOptSpec.