Add the init method

Regarding some recent changes on the framework