Simplify spec line getting