Adapt delete signature.
Very basic entities API, fixes #7.