issue #4660:remove unnecessary API.