Move into initialize function.