Small fix: date import was missing in basecollector.py.