added api to add converter hooks