More docs and some style formatting