Inline documentation added.