Bug #4978: use an object to cache the extended members