Implemented quit and get_init methods