Related to #193. Using the Resources class instead.