Add initialize() function.