add hook for adjusting incoming fn spec