Refactored method to grab dependent associations