Moved startSession callbacks out of config param to own params