remove beforeAfter registration from AppServiceRegistration