Refactor generic DAO path retrieval into a typeclass param and/or an explicit param