Documentation and cleanup.
Added recursive parameters to new method.