Handling data, registering client, fix.