Fixed warnings for FlatPageForm.