Use x-macros to announce plugins/modules

Got a bit tired of the chores involved, so this little trick fixes that.