It would be better to add an implementation of canSwim for MWClass::Npc that always returns true.