By rblanker: Fixed undefined constant error.