Fixed a minor scoping issue.