objects bind to session rather than registry

this change is ncessary in order that objects have access to the
session's value stack for arguments and return values