Add support for an onCreate callback which also triggers a 'slimcreate' event