Removed unused random_date and dir_num functions.