def _add_options(func):
    for option in reversed(options):
        func = option(func)
    return func
def _add_options(func):
    for option in reversed(options):
        func = option(func)
    return func