Prevent exceptions in strict mode