Added preSlug and postSlug as optional formatter functions