Another approach may be to skip this entire block. I don't actually see what value calling hooks during parse time is...