Decorator dedicated to put properties on an element.

def put(properties, ttl=None, ctx=None):
    """Decorator dedicated to put properties on an element.
    """

    def put_on(elt):
        return put_properties(elt=elt, properties=properties, ttl=ttl, ctx=ctx)

    return put_on