Init time optimization.