Make service and command abstract