dont use :type for now, but keep it in api