Move fence param first.
Renamed beg/end to before/after.