Added single-line support.