Synchronizing TS Objects with functions attached? - Theo's Typesafe Cult