Add Cloud fragment and device fragment.