Make possible to prototype also and subobjects
Ready version of OIndexPrototyper for creating indexes