+ [#31205] Automatically set $db and $app properties on plugins. Thanks
Don Gilbert.