add 'on_enable' ability to plugins