Expanded docs on init and terminate.