Remove dependency on Native.Error