Added documentation for some DOM functions.