Is this necessary for the service? Should this be down just above the service resource? Maybe a short comment about what this code block does?