add withRelayoutingClass attribute