More constants, fewer magic numbers.