def namedtuple_with_defaults(_type, _default_value=None, **kwargs):
    """
    Construct nametuple instance with default value for all args not
    included in kwargs.
    """
    args_list = _type._fields
    params = dict([(x, _default_value) for x in args_list])
    params.update(kwargs)
    return _type(**params)