Document Weka base State and Topology. Refactor.