Refs #1579. Adding documentation for function.