Called init function for collectors