Added support to detect end of import process for bills.