Mostly finish documenting core