Renamed the protected variable from sessionName to simply name.