Address some clone issues. More detailed documentation in README.