Fix for scope issue.