Added code in methods.
Merge pull request #274 from VinRudramurthy/dev-branch

Added code in methods.