Changed swig.init() to swig.getFilter() since API changed