Added service layer.