def remove_properties_and_basics(resource_data):
    """
    Given a mapping of resource_data attributes to use as "kwargs", return a new
    mapping with the known properties removed.
    """
    return dict([(k, v) for k, v in resource_data.items()
            if k not in ('type', 'base_name', 'extension', 'path', 'name')])