Added remaining code docs.