Fixed unused parameters warning.