Moving dependencies to a separated task