Remove native code from PositionedModel