Fixed resolving of service details with getService().

Fixes #66.