Define the `Kernel.scaffold` method to register scaffold