Adding beforeMatch docs