# Yea it's best to use```nim # type MyData = object # data {.guard: lock.}: MyType # lock: Lock