Change examples to use service providers