Added in-code documentation