public static void preRegister(final Context context) {
        context.put(barkKey, new Context.Factory<Bark>() {
            public Bark make() {
                return new Bark(context);
            }
        });
        context.put(Log.logKey, new Context.Factory<Log>() {
            public Log make() {
                return Bark.instance(context);
            }
        });
    }