Give functags their correct types for transitional syntax.

Also fixed up where the documentation for return values was incorrect or missing.