Added a dependency mechanism for features