Added some code docs