Moved unsupported visibility methods to a trait.