Small change to the Resource class.