Add multi-line elements support.