Rename extension init method to initialize

To make API consitent between widgets and extensions, I've renamed extension `init` method to `initialize`.