Some cleaning up. [1825]

Removed some commented out code and logging statements. Also added
javadocs for the usingFullDomain method.