Custom initialization.