Hook arg checking