Add type to each APIs