Only allow one type of collector at a time.