I think the `Type` argument should be an atom and we can convert as needed. Could also then define the spec to allow only the known types. Might even be worth a guard since this is a delete operation.