Changed visibility to be able to extend