Added fragments with life cycles.