Add getService snippet