emit init and create events on components before running their init and create functions for easier extension