And, yes, remove it. You should not care about python/java generators. But as I said before don't forget about CV_EXPORTS.