Initial code and documentation.