Fixed some documentation refs and broken code-blocks