Added support to get ref info.