Strict type checking, see #156