Some basic garbage collection.
Cleanup tables on destruction.
Enable RPC profiling.
Update test.