Re-implementation of conditional dependencies for extensibility.