Added macros for line endings.