Added get_info function.