Fix strict mode errors.