Adapting to component dependency