Remove code underlying when_* and only_if, which are deprecated features slated for removal in the 1.5 release.