create alias accept of setTypes