Add get line number functions.