assertType() is deprecated, switching usages tp assertInternalType() and assertInstan...