Fix strict error reporting errors.