fixed reference to Class instead to Interface