Cleanup of the SDK