Make some undocumented methods private.

Also uses the private method without parameters to make everything after it
private rather than having to specify private_class_method for each method.