Add better interface for specifying custom #eol.