Add assert in init routine.

Authored by mreeves on Jan 18 2019, 10:06 PM.