Adapt to fragments. FUNCTIONAL