Add method for prepare loaded kernel source