removed getCurrentContext method with getThreadLocalCarbonContext() in order to fix carbon API change.