Refactor and tweak resource dependecy declaration to improve readability and maintenance. Added explicit 'absent' resource setting dependencies.