Library service example: small refinements