Adding component as a dependency