Implemented optional line wrapping.