add before: and after: handlers to FancySpec