Fix init and template modulargaming/modulargaming#201