Working on host and session objects