Fix code for init().