$z and $w are only valid for extern functions.
Cannot cast from void to bool.
Internal errors should Throw.