ClassUtil.getClass returns Object.constructor

This means it doesn't support user-defined constructor functions, but we
don't use those anyway.