Remove repetition in spec