[2533] Created cache and locker decorator.