Draft a low level API hooks to allow more customisations.
Add missing tests.
Merge pull request #1571 from Gozala/bug/low-level-devpanel

Draft a low level API hooks to allow more customisations. r=@jsantell