Modifying global class, adding session class