Added support of getLangs method.