Merge pull request #1 from adam-vessey/7.x

Fix method call...
Fix variable name.