Fixed unused variable error.