Modified constructor for AbstractProcessor