Added 'class' keyword to friend