Allow to make deprecations fatal.