Cleaned up all the "Unused variable" warnings.