Minor code update to not pass around variables that aren't necessary to pass around.
Merge pull request #1587 from mperham/feature/remove-unnecessary-variable

Minor code update to not pass around variables that aren't necessary to pass around.