Minor const added.
Minor formatting done.