Added fragment support.