Mapper implementation *partial
Changes in clause and variable implementation.
Add search depth in cacheHelper