Support defining collectors