Added accessors to the Resources class.