Remove this method if no longer used.