More defines, less magic values.