Updating visibility utility

from https://github.com/hallme/scaffolding/issues/44