Edit Resource class.