Fix before/after syntax.