The md object should return itself if passed into the [] method. This should simplify the code. On several places.
Merge pull request #171 from fluke777/master

The md object should return itself if passed into the [] method. This sh...