Remove two methods that are never called

These two methods are never called and including them just for documentation
doesn't make much sense. They should live in the documentation if they are just
for documentation purposes.
Remove an unused closure function