Adding support and tests for delete queries. Adding support for limit queries. Preparing for phantom types.