Updated docs and comments to assist developers.