Ported if_bwn. Serializers need revising. Untested/WIP.