Fixed unused variable warning.