Use init method instead of on('init') to stay backwards compatible

Fixes #88