Added missing class declaration on friend statement