Added visibility method to Block class.