Minor code fixes.
Get rid of apache validate.