Adding Error Handling
Adding Preliminary Session Support