Changed to use the fact that non-mutating methods do not need to create new sessions