Removing old functions, adding a new one, and updating docs.