Initialisation sequence.