Init callback.