Before and after should take type