A general question about the use of classes in defining interfaces