Remove unused __call__.
Test document generation helper methods.