Use collections instead of collections.abc to be compatible with Python 3.2