Updated docblock and cleaned up comments in body of function.