Remove the minimal_enlightenment function, make doattributes do its job.  Fixes 324.