Adding xdate library.