Add getManager method
Test if session is an instance of Session
Remove temporary broken code