Added comments to public method for ease of use with an IDE.