Porting to recent version of ohNet.