Replacing before_/4 with before_/5