Made ChatHeadService class an abstract class