Restoring model to definitions.pm