Added type to subscription