Added agents db mixin to plugin