When 'also' extending other classes: use Object.getOwnPropertyNames,
so non-enumerable properties won't be skipped.