Docs fixes

Fixed some doc declarations and found a couple of things along the way