This fixes all known issues in the afstreams module.