Add operations to get line and unget string