!eval type MyType = object proc `layers[]`(m: MyType, i: int): int = i echo MyType().layers[67]