Ok, I will look into relevant similar pieces of code and refactor them. Kept these as is, as would refactor these only after mayavi module is also updated for VTK 6, so that the refactor is once and for all.