Implement prepreinitialize.