Fix "could not initialize proxy - no Session"

Retrive object istead of proxy on earlier stages