Fixed unused warnings