Directory Before/After Actions

These were filter hooks - but it makes more sense to have them as action hooks