Removed entry code from kernel.