Added source code and documentation.