Add common init to ease inclusion as submodule