Fix model saving.
Add forgotten resource defn. files.