def sop_classes(uids):
    """Simple decorator that adds or extends ``sop_classes`` attribute
    with provided list of UIDs.
    """
    def augment(service):
        if not hasattr(service, 'sop_classes'):
            service.sop_classes = []
        service.sop_classes.extend(uids)
        return service
    return augment