add Serve method hook argument