Refactor def.js to use configurable properties

* Delete all the property and definition caching.

[Finishes #78428104]