Update docs script.
Rename some functions in entity.tx ns.