ndb toplevel decorator