Added godoc style documentation