[Truffle] Use inner classes for storage specialisations.
[Truffle] Make more methods as notDesignedForCompilation.