Added service resource and tests.