Added some inline docs