Enhancementes to avoid accessing managed objects outside its thread