Prettying up the code, using #define's.