Added missing init call. Fixes #1809