Moved init to main.