Add init function to aggParams