Wrap the init process in a class.