Fix issue #93, <object>.constructor now returns type.