Start of implementing KernelAPI
in the middle of adding TransactionContextLocker