Fix Plugin Activation on Database Class