Adding partially implemented code.