Fixed a few unrevised function definitions.