public void removeShapesDeprecatedBeforeVersion(String relativeVersion) {
        transforms.add((model, transformer) -> {
            LOGGER.finest("Removing shapes deprecated before version: " + relativeVersion);
            return transformer.filterDeprecatedRelativeVersion(model, relativeVersion);
        });
    }
Removes any shapes deprecated before the specified version.

@param relativeVersion Version, in SemVer format, to use to filter out deprecated shapes.
@see ModelTransformer#filterDeprecatedRelativeVersion(Model, String)
smithy-codegen-core/src/main/java/software/amazon/smithy/codegen/core/directed/CodegenDirector.java