Moved init out of global space into initializer