Clean up the fop module. Also modify the reinitialization behavior to match what I did for the other documentation tools.