Changing dependency scope