-{ secure, signature, Base, JsPath:{ getAt } } = require 'bongo'
+{ secure, signature, Model, JsPath:{ getAt } } = require 'bongo'
 
-module.exports = class JGroupData extends Base
+module.exports = class JGroupData extends Model
   JPermissionSet = require './permissionset'
   { permit }     = JPermissionSet
 

    opts = {}
    opts[path] = 1 if path

    @one { slug }, opts, (err, data) ->
      return callback err  if err
      return callback null, getAt data, path

  # see docs on JGroup::modifyData
  modifyData : (slug, data, callback) ->

        type      : String
        validate  : require('../name').validateName
        set       : (value) -> value.toLowerCase()
      payload     : Object
    sharedMethods :
      static      :
        fetchByKey: [
          (signature String, Function)
        ]

  @create = (slug, callback) ->
