Less magic values, more constants.