Use constants instead of ‘magic’ strings to set service properties

These are actually part of the documented, presumably
backwards-compatible API.