Add a type hint to RevDelList::setVisibility