Added Init() function. Constructor was quite too fast.