Added more 'generalize' methods. Added documentation to make 'R CMD check' run clean. Added regression tests.