flexcat: use the same method for getting the dependencies