Added line numbers and references.