Adds method documentation.