Remove testing functions and fix some function descriptions.