icode: add IAllocateInstance, ICheckInstance and IInitAttributes