public static IRubyObject included(ThreadContext context, IRubyObject klazz, IRubyObject arg) {
Ruby runtime = context.getRuntime();
if (arg instanceof RubyModule) {
RubyModule base = (RubyModule)arg;
bases.add(base);
base.instance_variable_set(RubyString.newString(context.getRuntime(), "@peer"), runtime.getTrue());
IRubyObject common = runtime.getClassFromPath("Diametric::Persistence::Common");
base.send(context, RubySymbol.newSymbol(runtime, "include"), common, Block.NULL_BLOCK);
IRubyObject classmethods = runtime.getClassFromPath("Diametric::Persistence::Peer::ClassMethods");
base.send(context, RubySymbol.newSymbol(runtime, "extend"), classmethods, Block.NULL_BLOCK);
}