Fixing "Use of undefined constant" errors.