Changes to the way traces work and are registered in the database.

This changes model hashes.