Doc entries_by_uid method, make internal methods private