Fixed legacy swig example