Extract constants to smaller methods