Adds after hooks