Cleaned documentation and code.