Updated initialization process.