Add system init code and remove useless comments.