Rename some functions.
Documentation updates.