visitor class documentation and expiration time handling optimization