I'm not used to see checks on the ``constructor`` property: is it a convention for re3 code?
If not, I would use the more usual js ``instanceof`` if we cannot avoid it.