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