Use information about library's structure when translating