Clean Kernel to not depend on Oro's one which is too magic

| Q                    | A
| -------------------- | ---
| Bug fix?             | N
| New feature?         | N
| BC breaks?           | N
| CI currently passes? | Y
| Tests pass?          | Y
| Scenarios pass?      | running
| Checkstyle issues?*  | N
| PMD issues?**        | N
| Changelog updated?   | -
| Fixed tickets        | -
| DB schema updated?   | -
| Migration script?    | -
| Doc PR               | -
PI%?