Add dart docs and make minor tweaks