Add support for services + tests
Docs for services.