Initial code + documentation.