Updated in-line documentation