Remove never-used vis function