Removed dead code
Merge pull request #64 from ndlib/remove_dead_code_for_set_visibility

Removed dead code