Add new $session->getFor($object, $property); and $session->setFor($object, $property, $value); methods. These work the same as the usual get() and set() in $session, except that they set values within a namespace specifically for $object. You could also pass a string naming your own namespace for the $object param if you preferred. Lately modules that I build need to deal with session values quite a bit, and I like to keep them isolated from session values of other modules (just to prevent any potential name collisions) so providing this option of namespaced getters/setters makes things easier.