Fixed bindings for onInitalize