Added some misc code docs