Ensure getSession() is public