Improvment to how groovy line number are detected.