Changed some constants to defines.